from django.contrib import admin
from django.urls import path
import os 
from .views import *
from django_prometheus import exports


prefix = os.environ.get('URL', 'hello/').lstrip('/')

urlpatterns = [
    path('admin/', admin.site.urls),
    path(f'{prefix}', demo),

    path("metrics/", exports.ExportToDjangoView, name="prometheus-django-metrics")   
]
